package com.example.login_captcha_2.property;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "captcha.image")
public class CaptchaImageProperties {

    /**
     * 验证码的字符长度
     */
    private Integer length;

    /**
     * 验证码宽度
     */
    private Integer width;

    /**
     * 验证码高度
     */
    private Integer height;
}